<template>
  <div class="empty">
    <img v-bind:src="imglink">
    <div class="emptytext">{{text}}</div>
  </div>
</template>

<script>
export default {
  props: {
    show: {
      type: Boolean,
      default: true
    },
    text: {
      type: String,
      default: "您还没有发布的商品"
    },
    imglink:{
      type: String,
      default: ""
    }
  },
  methods:{
  
  }
}
</script>
<style scoped lang="less">
  .empty{
    text-align: center;
    img{
      margin-top: 290/40rem;
      width: 250/40rem;
      height: 250/40rem;
    }
    .emptytext{
      font-size: 32/40rem;
      color: #999;
    } 
  }
</style>
